Skip to content

查询零售小店活动业务代理

该接口为服务商或商户给零售小店活动查询业务代理的专用接口。 使用对象:活动创建方商户号、活动归属品牌的品牌主商户号或品牌经营商户号。

请求参数类型描述
activity_idstring零售小店活动ID
queryobject声明请求的查询参数
offsetnumber分页页码
limitnumber分页大小
php
$instance->v3->marketing->goodsSubsidyActivity->retailStoreAct->_activity_id_->representatives->getAsync([
  'activity_id' => '3118550000000004',
  'query' => [
    'offset' => 0,
    'limit' => 10,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representatives')->getAsync([
  'activity_id' => '3118550000000004',
  'query' => [
    'offset' => 0,
    'limit' => 10,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representatives']->getAsync([
  'activity_id' => '3118550000000004',
  'query' => [
    'offset' => 0,
    'limit' => 10,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->marketing->goodsSubsidyActivity->retailStoreAct->_activity_id_->representatives->get([
  'activity_id' => '3118550000000004',
  'query' => [
    'offset' => 0,
    'limit' => 10,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representatives')->get([
  'activity_id' => '3118550000000004',
  'query' => [
    'offset' => 0,
    'limit' => 10,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/marketing/goods-subsidy-activity/retail-store-act/{activity_id}/representatives']->get([
  'activity_id' => '3118550000000004',
  'query' => [
    'offset' => 0,
    'limit' => 10,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
total_countnumber小店活动业代总数
dataobject[]小店活动业代集合
openidstring业务代理的OpenID
offsetnumber分页页码
limitnumber分页大小

参阅 官方文档

Published on the GitHub by TheNorthMemory